(0.2ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (7.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) 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 ('20131111233640')  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))   (0.9ms) CREATE TABLE "interactions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "interactable_id" integer, "interactable_type" varchar(255), "key" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "current" boolean DEFAULT 't')  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) 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 ('20131111233640')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131111155047')  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (2.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (3.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Nov 2013 23:53:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "completed"], ["updated_at", Thu, 21 Nov 2013 23:53:35 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'completed' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'completed' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (2.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Nov 2013 23:58:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "completed"], ["updated_at", Thu, 21 Nov 2013 23:58:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'completed' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'completed' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Nov 2013 23:58:23 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "completed"], ["updated_at", Thu, 21 Nov 2013 23:58:23 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'completed' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'completed' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 00:38:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "completed"], ["updated_at", Fri, 22 Nov 2013 00:38:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'completed' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'completed' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 02:18:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "completed"], ["updated_at", Fri, 22 Nov 2013 02:18:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'completed' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'completed' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 02:50:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 02:50:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 02:51:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 02:51:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 02:51:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 02:51:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 02:51:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 02:51:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:22:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:22:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:22:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:22:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:23:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:23:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:23:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:23:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:24:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:24:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:24:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "not_published"], ["updated_at", Fri, 22 Nov 2013 03:24:42 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'not_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:26:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:26:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:26:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:26:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:26:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "not_published"], ["updated_at", Fri, 22 Nov 2013 03:26:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'not_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:27:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:27:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "not_published"], ["updated_at", Fri, 22 Nov 2013 03:27:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'not_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "not_published"], ["updated_at", Fri, 22 Nov 2013 03:28:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'not_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:28:54 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:29:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:29:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:29:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:29:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:29:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (2.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:30:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:34:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:35:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:36:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:36:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:36:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:37:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:37:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:37:31 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:37:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published?' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:23 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:23 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:38:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (18.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:39:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (17.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (18.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:40:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (19.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:41:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (19.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:42:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (29.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 03:43:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden_and_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (18.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'not_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden_and_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden_and_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 03:43:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden_and_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (18.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:52:36 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (6.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["not_published"]], ["updated_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:52:37 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (18.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["not_published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:00 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (19.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["not_published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:32 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (19.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:47 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:54:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", ["published"]], ["updated_at", Fri, 22 Nov 2013 03:54:47 UTC +00:00], ["value", "true"]] TypeError: can't cast Array to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (20.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IN ('published') AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:09 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IN ('published') AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (19.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IN ('published') AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 03:59:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IN ('published') AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:01:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:03:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:04:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:26 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:26 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:26 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:05:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:05:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:06:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:06:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:06:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:06:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (22.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "nt_published"], ["updated_at", Fri, 22 Nov 2013 04:07:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'nt_published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (21.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:07:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:08:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:09:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:09:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.0ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:10:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:11:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (23.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (38.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:10 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:12:45 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:13:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (23.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:13:30 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:14:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:15:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:16:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:16:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:16:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:16:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:16:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:08 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'is_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:17:44 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "false"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "false"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:39 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:18:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", #], ["updated_at", Fri, 22 Nov 2013 04:18:54 UTC +00:00], ["value", "true"]] TypeError: can't cast Enumerator to string: INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "_hidden"], ["updated_at", Fri, 22 Nov 2013 04:19:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '_hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '_hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:20:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:21:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:23:41 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:25:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published_amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:27:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published_amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:27:43 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:27:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:28:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (18.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:29:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:32:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:16 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (31.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:33:25 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published", "amazing"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"amazing\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["amazing"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published", "amazing"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"hidden\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["hidden"]' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"amazing\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["amazing"]' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published", "amazing"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"amazing\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["amazing"]' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '["hidden", "published", "amazing"]' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:34:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:34:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:34:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:35:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:35:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:35:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[\"published\"]"], ["updated_at", Fri, 22 Nov 2013 04:35:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '["published"]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:16 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:16 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:36:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:36:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:36:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:37:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:37:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:37:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:37:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:37:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:37:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:37:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:37:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:37:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:37:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:38:17 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:30 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:30 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:44 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:46 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:38:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:38:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:38:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:39:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:39:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:39:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:39:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:40:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:41:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:41:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:47 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:41:47 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:41:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "[:hidden, :published]"], ["updated_at", Fri, 22 Nov 2013 04:41:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = '[:hidden, :published]' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:42:29 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:43:07 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:44:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:47:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:48:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:55:37 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:56:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:00 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (27.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:57:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 04:59:58 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 04:59:59 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:01:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:02:36 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (1.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:54 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:02:54 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:02:54 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:03:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (1.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:03:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (1.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (3.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:03:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:03:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (1.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:04:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:04:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:04:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:04:42 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:04:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:04:59 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:04:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:04:59 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:05:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:05:25 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:05:25 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:05:25 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:05:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:05:44 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:05:44 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:05:44 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:06:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:06:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:06:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:06:08 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:06:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:06:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:06:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:06:32 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:07:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:07:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:07:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:07:36 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:07:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:07:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:07:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:07:49 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value IS NOT NULL) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:08:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:08:04 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:08:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:08:04 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:09:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:09:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:09:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:09:57 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:10:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:10:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:10:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:10:20 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (6.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:10:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:10:34 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:10:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:10:34 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != 'null' ) [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:10:59 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:10:59 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:11:29 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:11:29 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:11:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:11:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != NULL and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:12:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:12:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:12:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:12:19 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND (key = 'tags' and value != '' and current = 't') [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:28 UTC +00:00], ["value", "null"]] SQL (0.5ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.8ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (40.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "null"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:15:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (3.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:06 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (3.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:19 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (41.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (3.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:16:37 UTC +00:00], ["value", "[true]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (3.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:17:30 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:17:30 UTC +00:00], ["value", "[false,null]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.8ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (41.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (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 "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:42 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (40.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:18:57 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (41.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:19:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (40.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:17 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:20:18 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (40.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "null"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Fri, 22 Nov 2013 05:22:53 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (22.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:43:40 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:44:39 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (43.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.5ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.5ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "null"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:47:49 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (42.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:40 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "null"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:49:41 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (1.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (48.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (3.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.6ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:35 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.5ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.4ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (1.0ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.4ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.5ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.5ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "null"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (1.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (1.0ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.3ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.6ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.4ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.3ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.3ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.4ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.2ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "true"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 14:54:36 UTC +00:00], ["value", "false"]] SQL (0.3ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (1.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:12 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:36:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:36:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (1.4ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:37:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:37:05 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:37:05 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:37:05 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:37:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:37:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:37:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:37:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" IS NULL [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:38:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:38:06 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:38:06 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:38:06 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'f' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:38:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:38:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:38:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:38:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (6.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:34 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:34 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:34 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:38 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = '' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:39:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:39:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:40:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:14 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:32 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Mon, 25 Nov 2013 21:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (2.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:11 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:26:51 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'was_hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:52 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:27:53 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:28:27 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "publishedn"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'publishedn' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:29:08 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:30:21 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:03 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:04 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] [35mSQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:31:55 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (30.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:32:49 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (19.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:18 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:35:19 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:01 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:02 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (21.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:24 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:37:48 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.8ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:38:15 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:10 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:20 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:56 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:39:57 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (19.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:40:28 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (20.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'amazing' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'tags' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.2ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'promoted' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:41:33 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'hidden' AND id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 1], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 1], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (7.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "articles" DEFAULT VALUES  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.9ms) commit transaction  (0.0ms) begin transaction Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 1)  (0.8ms) commit transaction  (0.0ms) begin transaction Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 1], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 1 AND interactable_type = 'Article' AND key = 'published' AND id != 2)  (0.8ms) commit transaction  (0.0ms) begin transaction Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 2], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 2 AND interactable_type = 'Article' AND key = 'published' AND id != 3)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 7)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.5ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'amazing' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'amazing' AND id != 6)  (0.1ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "amazing"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'amazing' AND id != 7)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'amazing' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", :tags], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "[\"foo\",\"bar\"]"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "tags"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "null"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'tags' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'tags' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? ORDER BY "interactions"."id" DESC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'promoted' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'promoted' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' AND "interactions"."current" = 't' ORDER BY "interactions"."id" ASC LIMIT 1 [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.2ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 7)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 7)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.2ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "promoted"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'promoted' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.1ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'promoted' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" DEFAULT VALUES  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.3ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "published"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "false"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'published' AND id != 5)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? ORDER BY "articles"."id" ASC LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "interactions" ("created_at", "interactable_id", "interactable_type", "key", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["interactable_id", 4], ["interactable_type", "Article"], ["key", "hidden"], ["updated_at", Tue, 26 Nov 2013 09:57:31 UTC +00:00], ["value", "true"]] SQL (0.1ms) UPDATE "interactions" SET "current" = 'f' WHERE (interactable_id = 4 AND interactable_type = 'Article' AND key = 'hidden' AND id != 6)  (0.0ms) RELEASE SAVEPOINT active_record_1 Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'published' [["interactable_id", 4], ["interactable_type", "Article"]] Inter::Action Load (0.0ms) SELECT "interactions".* FROM "interactions" WHERE "interactions"."interactable_id" = ? AND "interactions"."interactable_type" = ? AND "interactions"."key" = 'hidden' [["interactable_id", 4], ["interactable_type", "Article"]]  (0.5ms) rollback transaction